﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using VOL.Core.Utilities;
using VOL.Entity.DomainModels;
using VOL.SmartMecial.Dtos;

namespace VOL.SmartMecial.IServices.WorkforceManage
{
    public interface IWardAreaService
    {

        /// <summary>
        /// 根据病区id查询病房及床位信息
        /// </summary>
        /// <param name="wardAreaId">病区ID</param>
        /// <returns>病房和床位的树形结构数据</returns>
        Task<APIResult<List<WardBedWardAreaDto>>> GetWardAreaBeds(int wardAreaId);


        /// <summary>
        /// 病区下拉框
        /// </summary>
        /// <returns>返回</returns>
        Task<WebResponseContent> GetWardArea();
        /// <summary>
        /// 分配床位
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<int> UpdPatient(Patient patient);
       
    }
}
